package com.game.majiang.chexuan;

import java.util.Vector;

import com.game.majiang.logic.LogicPlayer;

public class CalculationWindata {
	public CalculationWindata()
	{
		winplayervec = new Vector<LogicPlayer>();
		allwin = 0;
	}
	public Vector<LogicPlayer> winplayervec;
	public int allwin;
	
	public LogicPlayer GetOne()
	{
		if(winplayervec.size()>0)
		{
			return winplayervec.get(0);
		}
		else
		{
			return null;
		}
	}
	public void Add(LogicPlayer a)
	{
		winplayervec.addElement(a);
	}
	public Vector<LogicPlayer> GetAll()
	{
		return winplayervec;
	}
}
